home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-12-27 | 1.1 KB | 42 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="System\User Data"
- "NAME"="Windows User Data (NT/2K/XP)"
- "VERSION"="2.01"
- "LANGUAGE"="VBScript"
- "OSVERSION"="010101"
- "TEXT 1"="Name"
- "TEXT 2"="Company"
- "DESCRIPTION 1"="While Windows has been installed on your computer, it has saved your name and the name of your company."
- "DESCRIPTION 2"="This information can be changed here."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to Anthony Perez/Rivernet Communications [mailto:rivernet1@uswest.net] for his help!"
-
- sV1="HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOwner"
- sV2="HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization"
-
- Sub Plugin_Initialize
- s=RegReadValue(sV1)
- SetUIElement 1,s
-
- s=RegReadValue(sV2)
- SetUIElement 2,s
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sV1,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sV2,s,1)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-